package com.ruoyi.channel.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.channel.domain.TChannelPushDis;
import com.ruoyi.channel.domain.bo.TChannelPushDisBo;
import com.ruoyi.channel.domain.vo.ChannelCustomerInfoVo;
import com.ruoyi.channel.domain.vo.ChannelPushDisVo;
import com.ruoyi.channel.domain.vo.TChannelPushDisVo;
import com.ruoyi.common.core.mapper.BaseMapperPlus;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 渠道数据分配Mapper接口
 *
 * @author ruoyi
 * @date 2023-11-02
 */
public interface TChannelPushDisMapper extends BaseMapperPlus<TChannelPushDisMapper, TChannelPushDis, TChannelPushDisVo> {


    Page<ChannelPushDisVo> selectPageChannelPushVoList(@Param("page") Page<ChannelPushDisVo> page,
            @Param(Constants.WRAPPER) Wrapper<TChannelPushDisBo> queryWrapper);

    Page<ChannelPushDisVo> selectMangePageChannelPushVoList(@Param("page") Page<ChannelPushDisVo> page,
                                                       @Param(Constants.WRAPPER) Wrapper<TChannelPushDisBo> queryWrapper);

    List<ChannelCustomerInfoVo> channelPushTelInfo(@Param("tel") String tel);

}
